<template>
  <div class="alarm-item">
    <div class="row">
      <img :src="img" alt />
      <span class="label">{{ label }}</span>
      <span>{{ value }}件</span>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    img: {
      type: String,
      required: true
    },
    label: {
      type: String,
      required: true
    },
    value: {
      type: Number,
      default: 0
    }
  }
};
</script>

<style lang="scss" scoped>
.alarm-item {
  font-size: 14px;
  .row {
    width: 200px;
    margin: 0;
  }
  .label {
    margin: 0 50px 0 6px;
  }
}
</style>
